﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductsList.ascx.cs" Inherits="UserControl_ProductsList" %>
<div id="Inproducts-TABLE">
      <ul class="Products-LIST-UL">
      <asp:Repeater ID="RepeaterProducts" runat="server" onitemdatabound="RepeaterProducts_ItemDataBound">
            <ItemTemplate>
                <a href="products.aspx?node=<%# Eval("NodeId") %>"><li class="Products-LIST-LI"><%# Eval("Name")%></li></a>
                <ul class="productsList-ul">
                <asp:Repeater ID="RepeaterProductSubs" runat="server">
                    <ItemTemplate>
                        <a href="products-in.aspx?node=<%# Eval("Node.NodeId") %>&id=<%# Eval("PostId") %>"><li class="productsList-s2"><%# Eval("Title")%></li></a>
                    </ItemTemplate>
                </asp:Repeater>
                </ul>
            </ItemTemplate>
        </asp:Repeater>        
      </ul>
    </div>